package cn.bookcycle.report;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * ReportApplication
 *
 * @author Flynn
 * @version 1.0
 * @description TODO
 * @email liufenglin@163.com
 * @date 2019/1/7
 */
@SpringBootApplication
@EnableTransactionManagement // 开启事务
@MapperScan("cn.bookcycle.base.mapper") //扫描的是mapper.xml中namespace指向值的包位置
public class ReportApplication {
    public static void main(String[] args) {
        SpringApplication.run(ReportApplication.class, args);
    }
}
